/*
 * Created on 06/12/2009
 *
 * To change the template for this generated file go to
 * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
 */
package org.jma.app.ewisdom.services.utils;

import java.util.Vector;

import org.apache.lucene.search.ScoreDoc;
import org.jma.lib.soap.utils.XMLSerializable;

import com.thoughtworks.xstream.XStream;

/** 
 * ScoreDocs is only a vector of Doc objects that can be serialized in XML
 * @author jesmari@ono.com
 * @version 1.0
 * @since 1.0
 */
public class ScoreDocs extends Vector implements XMLSerializable{
	
	
    public String serializeToXML() {
    	XStream xstream = new XStream();
    	return xstream.toXML(this);
    }
}
